package com.pan.server.config;

import com.pan.utils.ConfigUtils;

public interface ServerConfig {

    public default int getPort(){
        String keyName = "server.port";
        return ConfigUtils.INSTANCE.getIntValue(keyName);
    }
    public default int getBacklog(){
        String keyName = "server.backlog";
        return ConfigUtils.INSTANCE.getIntValue(keyName);
    }
}
